<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script type="text/javascript" src="../../js/prototype.js"></script>
<script type="text/javascript" src="../../js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="../../js/lightbox.js"></script>

<!-- End of Light box code -->
<?php 

session_start();
if(@$_SESSION['status'] == " ")
{
@$_SESSION['status']=NULL;
}
?>
<link href="../../CSS/Divlayouts.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Appliances</title>
<style type="text/css">
#Pannel {
	position:absolute;
	width:989px;
	height:829px;
	z-index:3;
	left: 263px;
	top: 250px;
}
#apDiv1 {
	position:absolute;
	width:166px;
	height:303px;
	z-index:4;
	left: 278px;
	top: 237px;
}
#apDiv2 {
	position:absolute;
	width:170px;
	height:302px;
	z-index:5;
	left: 469px;
	top: 236px;
}
#apDiv3 {
	position:absolute;
	width:179px;
	height:302px;
	z-index:6;
	left: 666px;
	top: 235px;
}
#apDiv4 {
	position:absolute;
	width:185px;
	height:302px;
	z-index:7;
	left: 865px;
	top: 233px;
}
#apDiv5 {
	position:absolute;
	width:167px;
	height:301px;
	z-index:8;
	left: 1073px;
	top: 236px;
}
#apDiv6 {
	position:absolute;
	width:168px;
	height:327px;
	z-index:9;
	left: 275px;
	top: 623px;
}
#apDiv7 {
	position:absolute;
	width:169px;
	height:330px;
	z-index:10;
	left: 471px;
	top: 622px;
}
#apDiv8 {
	position:absolute;
	width:175px;
	height:333px;
	z-index:11;
	left: 669px;
	top: 620px;
}
#apDiv9 {
	position:absolute;
	width:183px;
	height:330px;
	z-index:12;
	left: 866px;
	top: 619px;
}
#apDiv10 {
	position:absolute;
	width:164px;
	height:335px;
	z-index:13;
	left: 1076px;
	top: 617px;
}
#cart {
	position:absolute;
	width:108px;
	height:28px;
	z-index:6;
	left: 822px;
	top: -149px;
}
#apDiv11 {
	position:absolute;
	width:128px;
	height:37px;
	z-index:14;
	left: 24px;
	top: 278px;
}
#apDiv12 {
	position:absolute;
	width:128px;
	height:37px;
	z-index:15;
	left: 26px;
	top: 277px;
}
#apDiv13 {
	position:absolute;
	width:128px;
	height:38px;
	z-index:16;
	left: 34px;
	top: 278px;
}
#apDiv14 {
	position:absolute;
	width:141px;
	height:40px;
	z-index:17;
	left: 26px;
	top: 282px;
}
#apDiv15 {
	position:absolute;
	width:114px;
	height:42px;
	z-index:18;
	left: 34px;
	top: 276px;
}
#apDiv16 {
	position:absolute;
	width:143px;
	height:38px;
	z-index:19;
	left: 16px;
	top: 308px;
}
#apDiv17 {
	position:absolute;
	width:96px;
	height:39px;
	z-index:20;
	left: 505px;
	top: 819px;
}
#apDiv18 {
	position:absolute;
	width:116px;
	height:41px;
	z-index:21;
	left: 32px;
	top: 311px;
}
#apDiv19 {
	position:absolute;
	width:135px;
	height:42px;
	z-index:22;
	left: 24px;
	top: 312px;
}
#apDiv20 {
	position:absolute;
	width:99px;
	height:43px;
	z-index:23;
	left: 1113px;
	top: 814px;
}
#apDiv21 {
	position:absolute;
	width:135px;
	height:43px;
	z-index:24;
	left: 15px;
	top: 309px;
}
#apDiv22 {
	position:absolute;
	width:993px;
	height:163px;
	z-index:14;
	left: 223px;
	top: 997px;
}
</style>
</head>


<body>

<pre><p>                           <a href="../index.php" ><img src="../../Resources/eMart logo.png" width="170" height="67" alt="Logo" /></a>                                                                <b><a  style="color:#000; text-decoration:none;" href="../customer_support.php">Customer Support</a>  |  <a style="color:#000; text-decoration:none;" href="../Terms.php">Privacy Policy</a></b>
                                          <?php if ((@$_SESSION['status']== NULL)||($_SESSION['status']== "OUT")){echo"Welcome! <a href='../login.php'>Sign in</a> or <a href='../Register.php'>Register</a>";} else { echo "Welcome ".($_SESSION['fname'])." ".($_SESSION['lname']) ."<pre>                                  <a  class='underline' href='../refresh.php'>Logout</a>    <a class='underline' href='../editaccount.php' >My Account</a> </pre>" ; } ?> </pre>
<div id="DivHR">
  
<hr/></div>


<div id="DivHR">
  <p align="center"><a href="../index.php"><img  src="../../Resources/Home.inactive.png" 
onmouseover="src='../../Resources/Home.active.png'" 
onmouseout="src='../../Resources/Home.inactive.png'" width="159" height="21" /></a>

<a href="../Appliances/Appliances.php"><img  src="../../Resources/Appliances.active.png" 
onmouseover="src='../../Resources/Appliances.inactive.png'" 
onmouseout="src='../../Resources/Appliances.active.png'" width="159" height="21" /></a>

<a href="../Computers/Computers.php"><img  src="../Resources/Computers.inactive.png" 
onmouseover="src='../../Resources/Computers.active.png'" 
onmouseout="src='../../Resources/Computers.inactive.png'" width="159" height="21" /></a>

<a href="../Mp3 Players/MP3Players.php"><img  src="../Resources/MP3.inactive.png" 
onmouseover="src='../../Resources/MP3.active.png'" 
onmouseout="src='../../Resources/MP3.inactive.png'" width="159" height="21" /></a>


<hr/>
</p>

</div>


<div id="Pannel" style="background-image:url(../../Resources/Ap%20Gallery%20Pannel.png); background-repeat:no-repeat">

<div id="cart"><a href="../cart.php"><img src="../../Resources/Mycart.png" width="100" height="25" alt="cart" /></a></div>



</div>
<div id="apDiv1">
  <?php
$con = mysql_connect("localhost","root","") or die ("Could not connect to DB!");
mysql_select_db ("web project",$con) or die ("could not select DB!");

$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'BDFP759'");

$row = mysql_fetch_array($result);


echo "<a href='processor.php'><img src='".$row['ImageSmall']."' alt='Food Processor'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";


?>
  <div id='apDiv11'>
    <?php
	echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv2">
<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'BTS1234'");

$row = mysql_fetch_array($result);


echo "<a href='BeverageSystem.php'><img src='".$row['ImageSmall']."' alt='Beverage System'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>
<div id="apDiv11">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
</div>
<div id="apDiv3">
<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'CDDF321'");

$row = mysql_fetch_array($result);


echo "<a href='DeepFryer.php'><img src='".$row['ImageSmall']."' alt='DeepFryer'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>
    <div id="apDiv11">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv4">
<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'CTO8205'");

$row = mysql_fetch_array($result);


echo "<a href='Ovens.php'><img src='".$row['ImageSmall']."' alt='Ovens'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>
    <div id="apDiv11">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
</div>
<div id="apDiv5">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'GFG9876'");

$row = mysql_fetch_array($result);


echo "<a href='Grill.php'><img src='".$row['ImageSmall']."' alt='Grill'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>
    <div id="apDiv11">
    <?php
    
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv6">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'HBK873'");

$row = mysql_fetch_array($result);


echo "<a href='HamiltonBeachKettle.php'><img src='".$row['ImageSmall']."' alt='kettle'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>

    <div id="apDiv16">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv7">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'HBSC78'");

$row = mysql_fetch_array($result);


echo "<a href='HamiltonBeachSlowCooker.php'><img src='".$row['ImageSmall']."' alt='Slow Cooker'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>

    <div id="apDiv16">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv8">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'HBT260'");

$row = mysql_fetch_array($result);


echo "<a href='HamiltonBeachToaster.php'><img src='".$row['ImageSmall']."' alt='toaster'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>

    <div id="apDiv16">
    <?php
    
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv9">
  
  <?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'KCM5432'");

$row = mysql_fetch_array($result);


echo "<a href='KeurigPercolator.php'><img src='".$row['ImageSmall']."' alt='Keurig Percolator'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>

    <div id="apDiv16">
    
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
  
</div>
<div id="apDiv10">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'PSDF820'");

$row = mysql_fetch_array($result);


echo "<a href='ProtectorSiklexDeepFryer.php'><img src='".$row['ImageSmall']."' alt='Protector Siklex Deep Fryer'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>

    <div id="apDiv16">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
    
</div>
</body>
</html> 